Python Program to find Perfect Number or Not